package com.jn.erp.web.api.student.entity.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class StudentRenewalDto {

    @Excel(name ="序号")
    private Integer id;

    @Excel(name ="姓名")
    private String name;

    @Excel(name ="手机号")
    private String mobile;

//    @Excel(name ="班级名称")
    private String className;


    private Long gradeId;

    private String gradeName;

    private Long counselorId;

    private Long creator;

    private Long managementId;

    private Long orgId;

    @Excel(name ="课程名称")
    private String courseName;
    @Excel(name ="订单编号")
    private  String orderNo;

    @Excel(name ="课程类型")
    private  String lessonType;

    // 剩余课时数
    @Excel(name ="剩余课时")
    private Integer remainderLesson;

    // 到期时间
    @Excel(name ="到期时间")
    private LocalDateTime  expireDate;

    @Excel(name ="跟进人")
    private String counselorName;

    @Excel(name ="学管师")
    private String managementName;



    private Long studentId;

    // 剩余课时
    private String remainingClass;

    // 剩余天数
    private String remainingDay;

    // 已经消耗课时
    private Integer countLessonComplete;

    // 退转课时
    private Integer countLessonRefund;



    // 区分预警设置 1 且 2或
    private String type;

    // 是否超上 1是超上
    private Integer overClass;



//    @Excel(name ="班级老师")
    private  String teacherName;

    // 是否停课 0停课1复课',
    private Integer stopsResume;



    // 续费提醒时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDateTime renewalReminderTime;


    // 是否删除
    private  String isDelete;


    private  String createUser;

    private  LocalDateTime createDate;

    private  String wxParam;

    private Long teacherId;

    private Long cofId;

    // 每页显示数据
    @TableField(exist = false)
    private Integer pageSize;

    // 当前页码
    @TableField(exist = false)
    private Integer pageNum;


    private Long courseId;


    private Long classId;

    /**
     * 课次id
     */
    @TableField(exist = false)
    private String orderId;

    /**
     * 小程序id
     */
    @TableField(exist = false)
    private String openid;
    /**
     * 服务号id
     */
    @TableField(exist = false)
    private String mpid;
    /**
     * 是否发送告警  判断是否开通通知且今日未成功发送告警（0否 1是）
     */
    @TableField(exist = false)
    private Integer sendType;

}
